package com.evl.common.persistence.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.evl.common.persistence.model.TrainSeatSchedule;
import com.evl.ticketRemainder.vo.TrainSeatScheduleVo;

/**
 * <p>
  *  Mapper 接口
 * </p>
 *
 * @author yangliwei
 * @since 2017-06-14
 */
public interface TrainSeatScheduleMapper extends BaseMapper<TrainSeatSchedule> {

	List<TrainSeatSchedule> selectTrainSeatSchedules(@Param("staId")Integer staId, @Param("carriageNo")String carriageNo, @Param("seatNo")String seatNo, @Param("seatType")String seatType);
	
	List<TrainSeatScheduleVo> selectTrainSeatSchedulesByStationId(@Param("stationId")Integer stationId);

	void deleteByStaId(@Param("staId")Integer vehicleScheduleId);
}